﻿using System;
using System.Windows.Forms;

namespace ruscehproj2
{
    public partial class splashScreen : Form
    {
        public splashScreen()
        {
            InitializeComponent();
        }
        private void splashScreen_Load(object sender, EventArgs e)
        {
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (hlp_on.Checked)
            {
                FormManager.hlp.Show();
                FormManager.hlp.helpEnabled(true);
            }
            FormManager.hlp.setHelpId("1");
            FormManager.hlp.hlpRefresh();
            FormManager.MAIN1.Show();
        }

        private void button2_Click(object sender, EventArgs e)
        {

            FormManager.hlp.helpEnabled(false);
            FormManager.MAIN1.Show();
        }

        private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            FormManager.hlp.scenarioId = listBox1.SelectedIndex;
        }

    }
}
